package com.soft.mapping;

import java.util.HashSet;
import java.util.Set;

/**
 * Menu entity. @author MyEclipse Persistence Tools
 */

public class Menu implements java.io.Serializable {

	// Fields

	private Integer menuid;
	private Menu menu;
	private String name;
	private String url;
	private Short showflag;
	private Short delflag;
	private Set menus = new HashSet(0);

	// Constructors

	/** default constructor */
	public Menu() {
	}

	/** full constructor */
	public Menu(Menu menu, String name, String url, Short showflag,
			Short delflag, Set menus) {
		this.menu = menu;
		this.name = name;
		this.url = url;
		this.showflag = showflag;
		this.delflag = delflag;
		this.menus = menus;
	}

	// Property accessors

	public Integer getMenuid() {
		return this.menuid;
	}

	public void setMenuid(Integer menuid) {
		this.menuid = menuid;
	}

	public Menu getMenu() {
		return this.menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Short getShowflag() {
		return this.showflag;
	}

	public void setShowflag(Short showflag) {
		this.showflag = showflag;
	}

	public Short getDelflag() {
		return this.delflag;
	}

	public void setDelflag(Short delflag) {
		this.delflag = delflag;
	}

	public Set getMenus() {
		return this.menus;
	}

	public void setMenus(Set menus) {
		this.menus = menus;
	}

}